import Vue from 'vue'

let components = {
	'Tabbar': 'common/Tabbar.vue',
	'ok-movable': 'ok/Movable.vue',
	'ok-track-anim': 'ok/TrackAnim.vue',
	'ok-upload': 'ok/UpLoad.vue',
	'ok-tools-button': 'ok/ToolsButton.vue',
	'ok-number-key': 'ok/NumberKey.vue',
	'ok-icon': 'ok/Icon.vue',
};

for (let key in components) {//批量引入自定义的组件
	let val = components[key];
	Vue.component(key, (require('./' + val).default));
}